package com.demo.user.service;

import com.demo.user.api.SmsService;
import com.learning.crpc.annotation.CrpcService;

/**
 * @program: diy_rpc
 * @description:
 * @author: CaoYong
 * @create: 2021-06-30 09:33
 **/
@CrpcService
public class SmsServiceImpl implements SmsService {

    @Override
    public String sendMessage(String phone, String content) {

        System.out.println("短信发送成功");
        return "已发送短信：" + phone + " 短信内容：" + content;
    }
}
